import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home/Home'
import Login from '@/pages/login/Login'
import WithdrawalMoney from '@/pages/withdrawal/WithdrawalMoney'    // 我要提现
import ScoreOut from '@/pages/withdrawal/ScoreOut'      //提现记录
import Commission from '@/pages/commission/Commission'              // 我的佣金
import Member from '@/pages/member/Member'              // 我的会员
import Erweima from '@/pages/erweima/Erweima'              // 二维码
import Record from '@/pages/record/Record'              // 充值记录
import SYrecord from '@/pages/record/SYrecord'              // 收益记录
import BindInfo from '@/pages/bindInfo/BindInfo'              // 查询绑定

Vue.use(Router)

const routers = [
    {
        path: '/login',
        name: 'login',
        component: Login
    },
    {
        path: '/',
        name: 'home',
        component: Home
    },{
        path: '/withdrawalMoney',
        name: 'withdrawalMoney',
        component: WithdrawalMoney
    },{
        path: '/commission',
        name: 'commission',
        component: Commission
    },{
        path: '/member',
        name: 'member',
        component: Member
    },{
        path: '/erweima',
        name: 'erweima',
        component: Erweima
    },{
        path: '/scoreOut',
        name: 'scoreOut',
        component: ScoreOut
    },{
        path: '/record',
        name: 'record',
        component: Record
    },{
        path: '/syRecord',
        name: 'syRecord',
        component: SYrecord
    },{
        path: '/bindInfo',
        name: 'bindInfo',
        component: BindInfo
    }
];

export default routers
